<admintpl file="header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:;">批次列表</a></li>
        <!--<li><a href="{:U('Information/add')}">新增信息</a></li>-->
    </ul>
    <form class="well form-search" method="post" action="{:U('Tea/lists')}">
        标题：
        <input type="text" name="title" style="width: 120px;" value="{$formget.title}" placeholder="">
        <!--类型：-->
        <!--<select style="" id="category_id" name="inf_type">-->
        <!--<option value="0">全部</option>-->
        <!--{$options}-->
        <!--</select>-->
        <input type="submit" style="margin-left: 5px;" class="btn btn-primary" value="搜索"/>
    </form>


    <table style="margin-top: 10px;word-break:break-all;" class="table table-hover table-bordered table-list"
           id="menus-table">
        <thead>
        <tr>
            <th>序号</th>
            <th>ID</th>
            <!--<th>类型</th>-->
            <th>批次号</th>
            <th>所属茶农</th>
            <th>添加时间</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {$lists}
        </tbody>
    </table>
    <div class="pagination">{$Page}</div>
</div>
<script src="__PUBLIC__/js/common.js"></script>
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">物流信息</h3>
    </div>
    <form action="{:U('Order/sendNum')}" method="post"
          class="form-horizontal js-ajax-form">
        <div class="modal-body">
            <table>
                <tbody>
                <tr>
                    <td>运单编号：</td>
                    <input type="hidden" name="order_id" class="id" value="">
                    <td><input type="text" name="logistics_number" value=""><span>&nbsp;*</span></td>
                </tr>
                <tr>
                    <td>承运公司：</td>
                    <td><input type="text" name="logistics_company" value=""><span>&nbsp;*</span></td>
                </tr>
                </tbody>
            </table>
        </div>
        <div class="modal-footer">
            <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
            <button type="submit" class="btn btn-primary ">保存</button>
        </div>

</div>
<script>
    $(".hidden").hide();
    $('.add_ext').click(function () {
        var id = $(this).attr("name");
        console.log(id);
        $(".id").val(id);
    });



</script>
</body>
</html>